/*
 * @(#)PermissionInfo.java $version 2010. 8. 11
 *
 * Copyright 2007-2010 NHN Corp. All rights Reserved. 
 * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.nhncorp.usf.core.config.runtime;

/**
 * Permission 정보
 *
 * @author Web Platform Development Team
 */
public class PermissionInfo {
    private String type = "override";

    private String required;

    /**
     * Instantiates a new permission info.
     *
     * @param type     the type
     * @param required the required
     */
    public PermissionInfo(String type, String required) {
        this.type = type;
        this.required = required;
    }

    /**
     * Instantiates a new permission info.
     *
     * @param required the required
     */
    public PermissionInfo(String required) {
        this.required = required;
    }

    /**
     * Gets the type.
     *
     * @return the type
     */
    public String getType() {
        return this.type;
    }

    /**
     * Gets the required.
     *
     * @return the required
     */
    public String getRequired() {
        return this.required;
    }
}
